package cjq.service.impl;

import cjq.bean.Student;
import cjq.dao.StudentDao;
import cjq.dao.impl.StudentDaoImpl;
import cjq.service.StudentService;

import java.util.List;

public class StudentServiceImpl implements StudentService {
    private StudentDao studentDao = new StudentDaoImpl();

    @Override
    public List<Student> getall(Class cla) {
        return studentDao.getall(cla);
    }
}
